package com.sxt.bus.controller;



import com.sxt.springcloud.bus.GoodstypeClientService;
import com.sxt.sys.common.DataGridView;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;

import org.springframework.web.bind.annotation.RestController;


/**
 * <p>
 *  前端控制器
 * </p>
 *
 * @author author
 * @since 2020-01-16
 */
@RestController
@RequestMapping("/goodstype")
public class GoodstypeController {
    @Autowired
    private GoodstypeClientService goodstypeClientService;
    /**
     * 查询
     */
    @RequestMapping("loadAllGoodstype")
    public DataGridView loadAllGoodstype() {

        return this.goodstypeClientService.loadAllGoodstype();
    }

}

